package com.design.mediator.football;

/**
 * @author xiemiao
 * @description
 * @date 2023/08/17
 */
public class Client {
    public static void main(String[] args) {
        FootBallReferee footBallReferee = new FootBallReferee();
        Player player1 = new Player("张三", footBallReferee);
        Player player2 = new Player("李四", footBallReferee);

        player1.scoreGoal();
        player1.conflictWith(player2);
    }
}
